package org.coopac.dao.impl;

import org.coopac.dao.ICargoPersonaDAO;
import org.coopac.model.CoopacCargoPersona;
import org.coopac.model.CoopacRelacionPersona;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository("CargoPersonaDAO")
public class CargoPersonaDAO extends BaseDaoImpl<CoopacRelacionPersona> implements ICargoPersonaDAO {
	
	@Autowired
	SessionFactory sessionFactory;

	@Override
	protected SessionFactory getSessionFactory() {
		return sessionFactory;
	}

	@Override
	public void save(CoopacCargoPersona cargoPersona) {
		super.save(cargoPersona);
	}

	
}
